import { Component } from '@angular/core';
import { IonicPage } from 'ionic-angular';
import { Router } from"@angular/router";
import { Tools } from '../../tools/tools';
import { NativePageTransitions } from '@ionic-native/native-page-transitions';
import { Network } from '@ionic-native/network';
/**
 * Generated class for the SettingsPage page.
 *
 * See https://ionicframework.com/docs/components/#navigation for more info on
 * Ionic pages and navigation.
 */

@IonicPage()
@Component({
  selector: 'page-accountNumberSecurity',
  templateUrl: 'accountNumber-security.html',
})
export class accountNumberSecurityPage extends Tools{
  constructor(
    protected route: Router,
    protected nativePageTransitions: NativePageTransitions,
    protected network: Network
  ) {
    super(route, nativePageTransitions, network)
  }

  back(){
    this.openPage('settings')
  }

  ionViewDidLoad() {
    console.log('这里是修改密码页面');
  }

  gopasswordModify(){
    this.openPage('ModifyPassword')
  }

  gobindingphone(){
    this.openPage('BindingPhonePage')
  }
}
